package com.schoolComments.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.schoolComments.dto.Result;
import com.schoolComments.entity.Blog;

/**
 * <p>
 *  服务类
 * </p>
 */
public interface IBlogService extends IService<Blog> {

    Result queryBlogByBlogId(Long id);

    Result likeBlog(Long id);

    Result queryBlogLikes(Long id);

    Result queryBlogsById(Long id, Integer current);

    Result queryMyBlog(Integer current);

    Result queryHotBlog(Integer current);

    Result saveBlog(Blog blog);

    Result queryblogOfFollow(Long lastId, Integer offset);
}
